package com.shuiqian.talentpool.service.impl;

import com.shuiqian.talentpool.dao.UserMapper;
import com.shuiqian.talentpool.entity.User;
import com.shuiqian.talentpool.resp.Results;
import com.shuiqian.talentpool.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author landongqi
 * @create 2019-11-27 16:55
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public Results analysis() {
        return null;
    }

    @Override
    public int saveUser(User user) {
        int insert = userMapper.insertSelective(user);
        return insert;
    }
}
